﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jqueryui/icon.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jqueryui/easyui.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/nremedy.ui.css")" rel="stylesheet" type="text/css" />   
    <script src="@Url.Content("~/Scripts/jquery-1.8.3.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.easyui.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/nremedy.ui.js")" type="text/javascript"></script>
</head>

<body>

<div style="background-color:#85A9C3;height:60px;color:#fff;font-weight:bold">
    
    <div style="float:left;height:60px"">
        <img style="height:60px" src="@Url.Content("~/Content/jqueryui/images/1369140238_BeOS_Logo.png")" />
    </div>
    <div style="float:left;">
        <span>@ViewBag.Title</span>
    </div>
    <div style="float:right;">
    @{
    SessionController c = ViewContext.Controller as SessionController;
    if(c != null)
    {
        @Html.ActionLink("注销", "Logout", "Account")
        <span>欢迎,</span>
        <span>@c.ARUserSession.ARContext.User</span>
    }
    RouteValueDictionary search = new RouteValueDictionary();
    search.Add(NRemedyUIExtension.FormModelKey, "Search");
    }
</div>
    <div style="clear:both;"></div>
</div>

<a id="btn_search" name="__search" 
                                href="#" class="easyui-linkbutton commit-change-search" 
                                action="@Url.Action("Search")" 
                                data-options="iconCls:'icon-save'">搜索</a>
<a id="btn_newsearch" name="__newsearch" 
    href="@Url.Action("Form", search)" disabled="true" class="easyui-linkbutton" data-options="iconCls:'icon-save'">新搜索</a>
    <div id="error_dlg"></div>
    @RenderBody()
</body>
</html>
